<!-- 右侧  -->
<div id="page-inner">
    <div class="panel-body">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-header">
                    水信息<small>元数据管理</small>
                </h1>
            </div>
        </div>
        <div id="toolbar" class="btn-group">
            <button id="btn_add" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
            </button>
            <button id="btn_delete" type="button" class="btn btn-default">
                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
            </button>
        </div>
        <table id="data_table" class="table-striped table-hover"></table>
    </div>
</div>


<!-- 添加 -->
<div class="modal fade" id="new_data" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">添加一项水信息元信息</h4>
            </div>
            <div id="new_data_body" class="modal-body">
                <div class="form-group">
                    <label>中文名称</label>
                    <input class="form-control" placeholder="必填 " id="newCsName" type="text">
                    <span class="help-block lastNameMessage"></span>
                </div>
                <div class="form-group">
                    <label>英文名称</label>
                    <input class="form-control" placeholder="必填 " id="newEnName" type="text">
                </div>
                <div class="form-group">
                    <label>定义</label>
                    <input class="form-control" placeholder="必填 " id="newDefination" type="text">
                </div>
                <div class="form-group">
                    <label>数据类型</label>
                    <select title="必填"  class="form-control" id="newDataType">
                        <option value="varchar(256)">字符型</option>
                        <option value="int">数值型</option>
                        <option value="number(9,2)">小数型</option>
                    </select>
                </div>
                <div class="form-group">
                    <label>单位</label>
                    <input class="form-control" placeholder="必填" id="newUnti" type="text">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="new_data_submit">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<script src="pages/js/meta_water.js"></script> 
